package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务奖励方式对象 task_rewards
 * 
 * @author ruoyi
 * @date 2025-01-15
 */
public class TaskRewards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务奖励id */
    private Long taskRewardId;

    /** 任务id，关联tasks表的tasks_id */
    @Excel(name = "任务id，关联tasks表的tasks_id")
    private Long tasksId;

    /** 奖励类型(默认1金币,2道具,3宝箱,4超级宝箱) */
    @Excel(name = "奖励类型(默认1金币,2道具,3宝箱,4超级宝箱)")
    private String rewardType;

    /** 奖励id，对于道具等可能需要id，对于金币、钻石等可空 */
    @Excel(name = "奖励id，对于道具等可能需要id，对于金币、钻石等可空")
    private Long propsId;

    /** 奖励数量 */
    @Excel(name = "奖励数量")
    private Long rewardCount;

    public void setTaskRewardId(Long taskRewardId) 
    {
        this.taskRewardId = taskRewardId;
    }

    public Long getTaskRewardId() 
    {
        return taskRewardId;
    }
    public void setTasksId(Long tasksId) 
    {
        this.tasksId = tasksId;
    }

    public Long getTasksId() 
    {
        return tasksId;
    }
    public void setRewardType(String rewardType) 
    {
        this.rewardType = rewardType;
    }

    public String getRewardType() 
    {
        return rewardType;
    }
    public void setPropsId(Long propsId) 
    {
        this.propsId = propsId;
    }

    public Long getPropsId() 
    {
        return propsId;
    }
    public void setRewardCount(Long rewardCount) 
    {
        this.rewardCount = rewardCount;
    }

    public Long getRewardCount() 
    {
        return rewardCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskRewardId", getTaskRewardId())
            .append("tasksId", getTasksId())
            .append("rewardType", getRewardType())
            .append("propsId", getPropsId())
            .append("rewardCount", getRewardCount())
            .append("createTime", getCreateTime())
            .toString();
    }
}
